const initialState = {
    list: []
}

const reducer = (state = initialState, { type, payload }: any) => {
    const newData = JSON.parse(JSON.stringify(state))
    switch (type) {

        case "first":
            return newData
        default:
            return newData
    }
}
export default reducer